package com.xiaomazi.edu.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xiaomazi.edu.entity.Course;
import com.xiaomazi.edu.vo.CoursePublishResult;
import com.xiaomazi.edu.vo.front.CourseInfoVo;

public interface CourseMapper extends BaseMapper<Course> {
    /**
     * 根据课程id查询出课程的全部详细信息
     * @param id 课程id
     * @return CoursePublishResult
     */
    CoursePublishResult publishCourseInfo(String id);

    CourseInfoVo getBaseCourseInfo(String courseId);
}